<div class="bjui-pageHeader">
<form id="pagerForm" data-toggle="ajaxsearch" action="__URL__/index" method="post">
	
	<input type="hidden" name="pageSize" value="{$numPerPage}">
    <input type="hidden" name="pageCurrent" value="{$_REQUEST['pageNum']|default=1}">
	 
        <div class="bjui-searchBar">
            <!-- <label>关键词：</label><input type="text" value="{$_REQUEST['keys']}" name="keys" class="form-control" size="12" /> -->
				<label>添加时间：</label><input type='text' data-toggle='datepicker' value='{$_REQUEST['time1']}' name='time1' class='form-control' size='12' />-<!-- <input type='text' data-toggle='datepicker' value='{$_REQUEST['time2']}' name='time2' class='form-control' size='12' />&nbsp; --><!-- <label>合同类型：</label><select name='type' data-toggle='selectpicker'><option value=''>全部</option><foreach name='typelist' item='v'><option value='{$v.type}'  <if condition="$v.type EQ $_REQUEST['type']">selected<else/>{$_REQUEST['type']}</if> >{$v.type}</option></foreach></select>&nbsp; --><label>风控人员：</label><select name='username' data-toggle='selectpicker'><option id="20" value="20">许冬月</option><option id="21" value="21">马宁宁</option><option id="22" value="22">王哲</option><option id="24" value="24">吕全刚</option><option id="26" value="26">王昕</option><option id="30" value="30">张寨星</option></select>&nbsp;
             <button type="submit"  class="btn-default" data-icon="search">查询</button>
            <span style="float:right;margin-right:5px;"><a href="__URL__/outexcel/uid/{$uid}/time/{$data}" class="btn btn-blue" data-toggle="doexport" data-confirm-msg="确定要导出吗？" data-icon="arrow-up">导出</a></span>   
		</div> 
</form>
    
</div>
<div class="bjui-pageContent tableContent" style="padding:8px;">
					  <div class="col-md-6">
                      <div class="panel panel-default">
                          <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-pencil-square-o"></i><?php if($uid == 21){ echo '马宁宁'; }elseif($uid == 22){ echo '王哲'; }elseif($uid == 24){ echo '吕全刚'; }elseif($uid == 26){ echo '王昕'; }elseif($uid == 20){  echo '许冬月';}elseif($uid == 30){ echo '张寨星'; }?><a style="color:red">{$data}</a></h3></div>
                            <div style="min-height:185px">
							<img src="{:U('usermoney/type',array('keys'=>$_REQUEST['keys'],'time1'=>$_REQUEST['time1'],'time2'=>$_REQUEST['time2'],'uid'=>$uid,'data'=>$data,'type'=>$_REQUEST['type'],'jingban'=>$_REQUEST['jingban']))}">
						  </div>
                        </div>
                      </div>
                      <!--//--> 
                      <div class="col-md-6">
                        <div class="panel panel-default">
                          <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-user-md"></i>  </h3></div>
                            <div style="min-height:185px">
							<img src="{:U('usermoney/back',array('keys'=>$_REQUEST['keys'],'time1'=>$_REQUEST['time1'],'time2'=>$_REQUEST['time2'],'uid'=>$uid,'data'=>$data,'type'=>$_REQUEST['type'],'jingban'=>$_REQUEST['jingban']))}">
						  </div>
                        </div>
                      </div>

     <div class="col-md-12">
    <!--  <table data-toggle="tablefixed" data-layout-h="0" data-nowrap="true"> -->
       <table data-toggle="tablefixed" data-width="100%" data-height="40%" data-layout-h="0" data-nowrap="true">
        <thead>
            <tr>
            <th width="30" height="30">类型</th>
            <th>小于0</th>
            <th>0-3</th>
            <th>3-7</th>
            <th>7-10</th>
            <th>大于10</th>
            <th>总数</th>
            <th>总钱数</th>
            </tr>
        </thead>
        <tbody>
          <volist id="v" name="details">
              <tr><td>{$v['type']}</td><td>{$v["<0"]}</td><td>{$v['0-3']}</td><td>{$v['3-7']}</td><td>{$v['7-10']}</td><td>{$v['>10']}</td><td>{$v['zong']}</td><td>{$v['countmoney']}</td></tr>
          </volist>
        </tbody>
    </table>
    </div>
                      <!--//--> 					  
</div>

<div class="bjui-pageFooter">
    <ul>
       <li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
    </ul>
</div>
<script>
  var uid = {$uid};
  function load(uid){
    document.getElementById(uid).selected = true;
  }
  window.onload = load(uid);
</script>